package com.springcloud.configclient.payment8004.service.impl;

import com.springcloud.configclient.payment8004.service.Payment;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import java.util.UUID;

@Service
public class PaymentImpl implements Payment {
    @Value("${server.port}")
    private String serverPort;
    public String getpaymentzk(){
        return "springcloud with zookeeper "+serverPort+" "+ UUID.randomUUID().toString();
    }
}
